package com.makeunion.gdlbsdemo.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Toast;

import com.makeunion.gdlbsdemo.R;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void normalMapActivity(View view) {
        startActivity(new Intent(this, NormalMapActivity.class));
    }

    public void fragmentMapActivity(View view) {
        startActivity(new Intent(this, MapFragmentActivity.class));
    }

    public void fourTypeActivity(View view) {
        startActivity(new Intent(this, FourTypeMapActivity.class));
    }

    public void offlineMapActivity(View view) {
        startActivity(new Intent(this, OfflineMapActivity.class));
    }

    public void uiSettingActivity(View view) {
        startActivity(new Intent(this, MapUISettingActivity.class));
    }

    public void myLocationActivity(View view) {
        startActivity(new Intent(this, MyLocationActivity.class));
    }

    public void customMapUiActivity(View view) {
        startActivity(new Intent(this, CustomMapUiActivity.class));
    }

    public void ControlApiActivity(View view) {
        startActivity(new Intent(this, ControlApiActivity.class));
    }

    public void mapScreenShot(View view) {
        startActivity(new Intent(this, MapScreenShotActivity.class));
    }

    public void markPointActivity(View view) {
        startActivity(new Intent(this, MarkPointActivity.class));
    }

    public void markLineActivity(View view) {
        startActivity(new Intent(this, MarkLineActivity.class));
    }

    public void markSurfaceActivity(View view) {
        startActivity(new Intent(this, MarkSurfaceActivity.class));
    }

    public void markHeatmapActivity(View view) {
        startActivity(new Intent(this, MarkHeatmapActivity.class));
    }

    public void draw3DActivity(View view) {
        startActivity(new Intent(this, Draw3DActivity.class));
    }

    public void smoothMoveActivity(View view) {
        startActivity(new Intent(this, SmoothMoveActivity.class));
    }

    public void drawMultiPointsActivity(View view) {
        startActivity(new Intent(this, MultiPointsActivity.class));
    }

    public void poiKeySearchActivity(View view) {
        startActivity(new Intent(this, PoiKeySearchActivity.class));
    }

    public void poiAroundSearchActivity(View view) {
        startActivity(new Intent(this, PoiAroundSearchActivity.class));
    }

    public void poiIdSearchActivity(View view) {
        Toast.makeText(this, "关键词搜索或者周边搜索的结果id作为搜索条件", Toast.LENGTH_LONG).show();
    }

    public void poiRouteSearchActivity(View view) {
        startActivity(new Intent(this, PoiRouteSearchActivity.class));
    }

    public void busSearchActivity(View view) {
        startActivity(new Intent(this, SearchBusActivity.class));
    }

    public void districtSearchActivity(View view) {
        startActivity(new Intent(this, SearchDistrictActivity.class));
    }

    public void weatherSearchActivity(View view) {
        startActivity(new Intent(this, SearchWeatherActivity.class));
    }

    public void trafficInfoActivity(View view) {
        startActivity(new Intent(this, TrafficInfoActivity.class));
    }

    public void driveRouteActivity(View view) {
        startActivity(new Intent(this, RouteSearchActivity.class));
    }

    public void shareActivity(View view) {
        startActivity(new Intent(this, ShareActivity.class));
    }

    public void inPolygonActivity(View view) {
        startActivity(new Intent(this, InPolygonActivity.class));
    }
}